package com.lt.snake;

import javax.swing.*;

// 启动类
public class StartGame {
    public static void main(String[] args) {
        JFrame frame = new JFrame("贪吃的登科b");

        frame.setResizable(false);
        frame.setBounds(10,10,900,720);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);

        frame.add(new GamePanel());

        frame.setVisible(true);
    }
}
